package com.xz.spi.handle;

/**
 * Created by fingal on 2018/1/16.
 */
public class VPHandle extends Handler {
    @Override
    public void handleRequest(int leave) {
        if(2 < leave && leave <= 3) {
            System.out.println("假期由老许处理...");
        } else {
            getSuccessor().handleRequest(leave);
        }
    }
}
